<?php
/**
 * ExtScriptTagProxy class file
 *
 * @author TrueSoftware B.V. (The Netherlands)
 * @link http://www.ext4yii.com
 * @copyright Copyright 2007-2010 TrueSoftware B.V. all rights reserved.
 * @license http://www.ext4yii.com/license/
 *          EVALUATION VERSION - NOT FOR COMMERCIAL USE OR DISTRIBUTION.
 * @version 0.7.2
 */

class ExtScriptTagProxy extends ExtDataProxy
{
    /**
     * Gets the value of ExtJS callbackParam property
     * @return String 
     */
    public function getCallbackParam()
    {
    	return $this->getConfig("callbackparam");
    }

    /**
     * Sets the value of ExtJS callbackParam property
     * @param String $value 
     */
    public function setCallbackParam($value)
    {
    	$this->setConfig("callbackparam",$value);
    }

    /**
     * Gets the value of ExtJS nocache property
     * @return Boolean 
     */
    public function getNocache()
    {
    	return $this->getConfig("nocache");
    }

    /**
     * Sets the value of ExtJS nocache property
     * @param Boolean $value 
     */
    public function setNocache($value)
    {
    	$this->setConfig("nocache",$value);
    }

    /**
     * Gets the value of ExtJS timeout property
     * @return Number 
     */
    public function getTimeout()
    {
    	return $this->getConfig("timeout");
    }

    /**
     * Sets the value of ExtJS timeout property
     * @param Number $value 
     */
    public function setTimeout($value)
    {
    	$this->setConfig("timeout",$value);
    }

    /**
     * Gets the value of ExtJS url property
     * @return String 
     */
    public function getUrl()
    {
    	return $this->getConfig("url");
    }

    /**
     * Sets the value of ExtJS url property
     * @param String $value 
     */
    public function setUrl($value)
    {
    	$this->setConfig("url",$value);
    }

    /**
     * Gets the value of ExtJS autoAbort property
     * @return Boolean 
     */
    public function getAutoAbort()
    {
    	return $this->getConfig("autoabort");
    }

    /**
     * Sets the value of ExtJS autoAbort property
     * @param Boolean $value 
     */
    public function setAutoAbort($value)
    {
    	$this->setConfig("autoabort",$value);
    }

    /**
     * @description maps to the abort function in Ext.data.ScriptTagProxy
     * @param sender String -
     */
    public static function abort_OnAjax($sender=null)
    {
    	ExtWidget::checkSetAjaxRequestValue('abort()',
    		array(),
    			 $sender);
    }

    
    public function __construct()
    {
        parent::__construct();
        $this->configmap = array_merge($this->configmap,array(
            'callbackparam' => 'callbackParam',
            'autoabort' => 'autoAbort'
        ));

        $this->eventtable = array_merge($this->eventtable,array(
            'loadexception' => array('sender','options','arg','e')
        ));


        $this->setXType(null);
        $this->setXClass('Ext.data.ScriptTagProxy');
    }    
}
?>